<?php
require_once dirname(__FILE__) . '/source/include/StuCloudCore.php';
$mod = get_get("mod");
global $_G;
$_G["page"]["mod"] = $mod;
$admincp = get_get("admin");
if($admincp!=""){
    require_once getAdminPath() . "/AdminManager.php";
}
if ($mod == "register") {
    require_once getModulePath() . "/register/register.php";
    die();
}
if ($mod == "login") {
    require_once getModulePath() . "/login/login.php";
    die();
}

require_once getModulePath() . "/ModuleManager.php";

?>
